/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package entityprojet;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 *
 * @author Ron
 */
@Entity
@Table(name = "F_COMPTET")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "FComptet.findAll", query = "SELECT f FROM FComptet f"),
    @NamedQuery(name = "FComptet.findByCTNum", query = "SELECT f FROM FComptet f WHERE f.cTNum = :cTNum"),
    @NamedQuery(name = "FComptet.findByCTIntitule", query = "SELECT f FROM FComptet f WHERE f.cTIntitule = :cTIntitule"),
    @NamedQuery(name = "FComptet.findByCTType", query = "SELECT f FROM FComptet f WHERE f.cTType = :cTType"),
    @NamedQuery(name = "FComptet.findByCTQualite", query = "SELECT f FROM FComptet f WHERE f.cTQualite = :cTQualite"),
    @NamedQuery(name = "FComptet.findByCTClassement", query = "SELECT f FROM FComptet f WHERE f.cTClassement = :cTClassement"),
    @NamedQuery(name = "FComptet.findByCTContact", query = "SELECT f FROM FComptet f WHERE f.cTContact = :cTContact"),
    @NamedQuery(name = "FComptet.findByCTAdresse", query = "SELECT f FROM FComptet f WHERE f.cTAdresse = :cTAdresse"),
    @NamedQuery(name = "FComptet.findByCTComplement", query = "SELECT f FROM FComptet f WHERE f.cTComplement = :cTComplement"),
    @NamedQuery(name = "FComptet.findByCTCodePostal", query = "SELECT f FROM FComptet f WHERE f.cTCodePostal = :cTCodePostal"),
    @NamedQuery(name = "FComptet.findByCTVille", query = "SELECT f FROM FComptet f WHERE f.cTVille = :cTVille"),
    @NamedQuery(name = "FComptet.findByCTCodeRegion", query = "SELECT f FROM FComptet f WHERE f.cTCodeRegion = :cTCodeRegion"),
    @NamedQuery(name = "FComptet.findByCTPays", query = "SELECT f FROM FComptet f WHERE f.cTPays = :cTPays"),
    @NamedQuery(name = "FComptet.findByCTRaccourci", query = "SELECT f FROM FComptet f WHERE f.cTRaccourci = :cTRaccourci"),
    @NamedQuery(name = "FComptet.findByBTNum", query = "SELECT f FROM FComptet f WHERE f.bTNum = :bTNum"),
    @NamedQuery(name = "FComptet.findByNDevise", query = "SELECT f FROM FComptet f WHERE f.nDevise = :nDevise"),
    @NamedQuery(name = "FComptet.findByCTApe", query = "SELECT f FROM FComptet f WHERE f.cTApe = :cTApe"),
    @NamedQuery(name = "FComptet.findByCTIdentifiant", query = "SELECT f FROM FComptet f WHERE f.cTIdentifiant = :cTIdentifiant"),
    @NamedQuery(name = "FComptet.findByCTSiret", query = "SELECT f FROM FComptet f WHERE f.cTSiret = :cTSiret"),
    @NamedQuery(name = "FComptet.findByCTStatistique01", query = "SELECT f FROM FComptet f WHERE f.cTStatistique01 = :cTStatistique01"),
    @NamedQuery(name = "FComptet.findByCTStatistique02", query = "SELECT f FROM FComptet f WHERE f.cTStatistique02 = :cTStatistique02"),
    @NamedQuery(name = "FComptet.findByCTStatistique03", query = "SELECT f FROM FComptet f WHERE f.cTStatistique03 = :cTStatistique03"),
    @NamedQuery(name = "FComptet.findByCTStatistique04", query = "SELECT f FROM FComptet f WHERE f.cTStatistique04 = :cTStatistique04"),
    @NamedQuery(name = "FComptet.findByCTStatistique05", query = "SELECT f FROM FComptet f WHERE f.cTStatistique05 = :cTStatistique05"),
    @NamedQuery(name = "FComptet.findByCTStatistique06", query = "SELECT f FROM FComptet f WHERE f.cTStatistique06 = :cTStatistique06"),
    @NamedQuery(name = "FComptet.findByCTStatistique07", query = "SELECT f FROM FComptet f WHERE f.cTStatistique07 = :cTStatistique07"),
    @NamedQuery(name = "FComptet.findByCTStatistique08", query = "SELECT f FROM FComptet f WHERE f.cTStatistique08 = :cTStatistique08"),
    @NamedQuery(name = "FComptet.findByCTStatistique09", query = "SELECT f FROM FComptet f WHERE f.cTStatistique09 = :cTStatistique09"),
    @NamedQuery(name = "FComptet.findByCTStatistique10", query = "SELECT f FROM FComptet f WHERE f.cTStatistique10 = :cTStatistique10"),
    @NamedQuery(name = "FComptet.findByCTCommentaire", query = "SELECT f FROM FComptet f WHERE f.cTCommentaire = :cTCommentaire"),
    @NamedQuery(name = "FComptet.findByCTEncours", query = "SELECT f FROM FComptet f WHERE f.cTEncours = :cTEncours"),
    @NamedQuery(name = "FComptet.findByCTAssurance", query = "SELECT f FROM FComptet f WHERE f.cTAssurance = :cTAssurance"),
    @NamedQuery(name = "FComptet.findByCTNumPayeur", query = "SELECT f FROM FComptet f WHERE f.cTNumPayeur = :cTNumPayeur"),
    @NamedQuery(name = "FComptet.findByNRisque", query = "SELECT f FROM FComptet f WHERE f.nRisque = :nRisque"),
    @NamedQuery(name = "FComptet.findByCONo", query = "SELECT f FROM FComptet f WHERE f.cONo = :cONo"),
    @NamedQuery(name = "FComptet.findByNCatTarif", query = "SELECT f FROM FComptet f WHERE f.nCatTarif = :nCatTarif"),
    @NamedQuery(name = "FComptet.findByCTTaux01", query = "SELECT f FROM FComptet f WHERE f.cTTaux01 = :cTTaux01"),
    @NamedQuery(name = "FComptet.findByCTTaux02", query = "SELECT f FROM FComptet f WHERE f.cTTaux02 = :cTTaux02"),
    @NamedQuery(name = "FComptet.findByCTTaux03", query = "SELECT f FROM FComptet f WHERE f.cTTaux03 = :cTTaux03"),
    @NamedQuery(name = "FComptet.findByCTTaux04", query = "SELECT f FROM FComptet f WHERE f.cTTaux04 = :cTTaux04"),
    @NamedQuery(name = "FComptet.findByNCatCompta", query = "SELECT f FROM FComptet f WHERE f.nCatCompta = :nCatCompta"),
    @NamedQuery(name = "FComptet.findByNPeriod", query = "SELECT f FROM FComptet f WHERE f.nPeriod = :nPeriod"),
    @NamedQuery(name = "FComptet.findByCTFacture", query = "SELECT f FROM FComptet f WHERE f.cTFacture = :cTFacture"),
    @NamedQuery(name = "FComptet.findByCTBLFact", query = "SELECT f FROM FComptet f WHERE f.cTBLFact = :cTBLFact"),
    @NamedQuery(name = "FComptet.findByCTLangue", query = "SELECT f FROM FComptet f WHERE f.cTLangue = :cTLangue"),
    @NamedQuery(name = "FComptet.findByCTEdi1", query = "SELECT f FROM FComptet f WHERE f.cTEdi1 = :cTEdi1"),
    @NamedQuery(name = "FComptet.findByCTEdi2", query = "SELECT f FROM FComptet f WHERE f.cTEdi2 = :cTEdi2"),
    @NamedQuery(name = "FComptet.findByCTEdi3", query = "SELECT f FROM FComptet f WHERE f.cTEdi3 = :cTEdi3"),
    @NamedQuery(name = "FComptet.findByNExpedition", query = "SELECT f FROM FComptet f WHERE f.nExpedition = :nExpedition"),
    @NamedQuery(name = "FComptet.findByNCondition", query = "SELECT f FROM FComptet f WHERE f.nCondition = :nCondition"),
    @NamedQuery(name = "FComptet.findByCTDateCreate", query = "SELECT f FROM FComptet f WHERE f.cTDateCreate = :cTDateCreate"),
    @NamedQuery(name = "FComptet.findByCTSaut", query = "SELECT f FROM FComptet f WHERE f.cTSaut = :cTSaut"),
    @NamedQuery(name = "FComptet.findByCTLettrage", query = "SELECT f FROM FComptet f WHERE f.cTLettrage = :cTLettrage"),
    @NamedQuery(name = "FComptet.findByCTValidEch", query = "SELECT f FROM FComptet f WHERE f.cTValidEch = :cTValidEch"),
    @NamedQuery(name = "FComptet.findByCTSommeil", query = "SELECT f FROM FComptet f WHERE f.cTSommeil = :cTSommeil"),
    @NamedQuery(name = "FComptet.findByDENo", query = "SELECT f FROM FComptet f WHERE f.dENo = :dENo"),
    @NamedQuery(name = "FComptet.findByCTControlEnc", query = "SELECT f FROM FComptet f WHERE f.cTControlEnc = :cTControlEnc"),
    @NamedQuery(name = "FComptet.findByCTNotRappel", query = "SELECT f FROM FComptet f WHERE f.cTNotRappel = :cTNotRappel"),
    @NamedQuery(name = "FComptet.findByCbNAnalytique", query = "SELECT f FROM FComptet f WHERE f.cbNAnalytique = :cbNAnalytique"),
    @NamedQuery(name = "FComptet.findByCTTelephone", query = "SELECT f FROM FComptet f WHERE f.cTTelephone = :cTTelephone"),
    @NamedQuery(name = "FComptet.findByCTTelecopie", query = "SELECT f FROM FComptet f WHERE f.cTTelecopie = :cTTelecopie"),
    @NamedQuery(name = "FComptet.findByCTEMail", query = "SELECT f FROM FComptet f WHERE f.cTEMail = :cTEMail"),
    @NamedQuery(name = "FComptet.findByCTSite", query = "SELECT f FROM FComptet f WHERE f.cTSite = :cTSite"),
    @NamedQuery(name = "FComptet.findByCTCoface", query = "SELECT f FROM FComptet f WHERE f.cTCoface = :cTCoface"),
    @NamedQuery(name = "FComptet.findByCTSurveillance", query = "SELECT f FROM FComptet f WHERE f.cTSurveillance = :cTSurveillance"),
    @NamedQuery(name = "FComptet.findByCTSvDateCreate", query = "SELECT f FROM FComptet f WHERE f.cTSvDateCreate = :cTSvDateCreate"),
    @NamedQuery(name = "FComptet.findByCTSvFormeJuri", query = "SELECT f FROM FComptet f WHERE f.cTSvFormeJuri = :cTSvFormeJuri"),
    @NamedQuery(name = "FComptet.findByCTSvEffectif", query = "SELECT f FROM FComptet f WHERE f.cTSvEffectif = :cTSvEffectif"),
    @NamedQuery(name = "FComptet.findByCTSvCA", query = "SELECT f FROM FComptet f WHERE f.cTSvCA = :cTSvCA"),
    @NamedQuery(name = "FComptet.findByCTSvResultat", query = "SELECT f FROM FComptet f WHERE f.cTSvResultat = :cTSvResultat"),
    @NamedQuery(name = "FComptet.findByCTSvIncident", query = "SELECT f FROM FComptet f WHERE f.cTSvIncident = :cTSvIncident"),
    @NamedQuery(name = "FComptet.findByCTSvDateIncid", query = "SELECT f FROM FComptet f WHERE f.cTSvDateIncid = :cTSvDateIncid"),
    @NamedQuery(name = "FComptet.findByCTSvPrivil", query = "SELECT f FROM FComptet f WHERE f.cTSvPrivil = :cTSvPrivil"),
    @NamedQuery(name = "FComptet.findByCTSvRegul", query = "SELECT f FROM FComptet f WHERE f.cTSvRegul = :cTSvRegul"),
    @NamedQuery(name = "FComptet.findByCTSvCotation", query = "SELECT f FROM FComptet f WHERE f.cTSvCotation = :cTSvCotation"),
    @NamedQuery(name = "FComptet.findByCTSvDateMaj", query = "SELECT f FROM FComptet f WHERE f.cTSvDateMaj = :cTSvDateMaj"),
    @NamedQuery(name = "FComptet.findByCTSvObjetMaj", query = "SELECT f FROM FComptet f WHERE f.cTSvObjetMaj = :cTSvObjetMaj"),
    @NamedQuery(name = "FComptet.findByCTSvDateBilan", query = "SELECT f FROM FComptet f WHERE f.cTSvDateBilan = :cTSvDateBilan"),
    @NamedQuery(name = "FComptet.findByCTSvNbMoisBilan", query = "SELECT f FROM FComptet f WHERE f.cTSvNbMoisBilan = :cTSvNbMoisBilan"),
    @NamedQuery(name = "FComptet.findByCbNAnalytiqueIFRS", query = "SELECT f FROM FComptet f WHERE f.cbNAnalytiqueIFRS = :cbNAnalytiqueIFRS"),
    @NamedQuery(name = "FComptet.findByCTPrioriteLivr", query = "SELECT f FROM FComptet f WHERE f.cTPrioriteLivr = :cTPrioriteLivr"),
    @NamedQuery(name = "FComptet.findByCTLivrPartielle", query = "SELECT f FROM FComptet f WHERE f.cTLivrPartielle = :cTLivrPartielle"),
    @NamedQuery(name = "FComptet.findByMRNo", query = "SELECT f FROM FComptet f WHERE f.mRNo = :mRNo"),
    @NamedQuery(name = "FComptet.findByCTNotPenal", query = "SELECT f FROM FComptet f WHERE f.cTNotPenal = :cTNotPenal"),
    @NamedQuery(name = "FComptet.findByEBNo", query = "SELECT f FROM FComptet f WHERE f.eBNo = :eBNo"),
    @NamedQuery(name = "FComptet.findByCTNumCentrale", query = "SELECT f FROM FComptet f WHERE f.cTNumCentrale = :cTNumCentrale"),
    @NamedQuery(name = "FComptet.findByCTDateFermeDebut", query = "SELECT f FROM FComptet f WHERE f.cTDateFermeDebut = :cTDateFermeDebut"),
    @NamedQuery(name = "FComptet.findByCTDateFermeFin", query = "SELECT f FROM FComptet f WHERE f.cTDateFermeFin = :cTDateFermeFin"),
    @NamedQuery(name = "FComptet.findByCTFactureElec", query = "SELECT f FROM FComptet f WHERE f.cTFactureElec = :cTFactureElec"),
    @NamedQuery(name = "FComptet.findByCTTypeNIF", query = "SELECT f FROM FComptet f WHERE f.cTTypeNIF = :cTTypeNIF"),
    @NamedQuery(name = "FComptet.findByCTRepresentInt", query = "SELECT f FROM FComptet f WHERE f.cTRepresentInt = :cTRepresentInt"),
    @NamedQuery(name = "FComptet.findByCTRepresentNIF", query = "SELECT f FROM FComptet f WHERE f.cTRepresentNIF = :cTRepresentNIF"),
    @NamedQuery(name = "FComptet.findByCbProt", query = "SELECT f FROM FComptet f WHERE f.cbProt = :cbProt"),
    @NamedQuery(name = "FComptet.findByCbMarq", query = "SELECT f FROM FComptet f WHERE f.cbMarq = :cbMarq"),
    @NamedQuery(name = "FComptet.findByCbCreateur", query = "SELECT f FROM FComptet f WHERE f.cbCreateur = :cbCreateur"),
    @NamedQuery(name = "FComptet.findByCbModification", query = "SELECT f FROM FComptet f WHERE f.cbModification = :cbModification"),
    @NamedQuery(name = "FComptet.findByCbReplication", query = "SELECT f FROM FComptet f WHERE f.cbReplication = :cbReplication"),
    @NamedQuery(name = "FComptet.findByCbFlag", query = "SELECT f FROM FComptet f WHERE f.cbFlag = :cbFlag")})
public class FComptet implements Serializable {
    private static final long serialVersionUID = 1L;
    @Basic(optional = false)
    @Column(name = "CT_Num")
    private String cTNum;
    @Lob
    @Column(name = "cbCT_Num")
    private byte[] cbCTNum;
    @Column(name = "CT_Intitule")
    private String cTIntitule;
    @Column(name = "CT_Type")
    private Short cTType;
    @Lob
    @Column(name = "cbCG_NumPrinc")
    private byte[] cbCGNumPrinc;
    @Column(name = "CT_Qualite")
    private String cTQualite;
    @Column(name = "CT_Classement")
    private String cTClassement;
    @Lob
    @Column(name = "cbCT_Classement")
    private byte[] cbCTClassement;
    @Column(name = "CT_Contact")
    private String cTContact;
    @Column(name = "CT_Adresse")
    private String cTAdresse;
    @Column(name = "CT_Complement")
    private String cTComplement;
    @Column(name = "CT_CodePostal")
    private String cTCodePostal;
    @Lob
    @Column(name = "cbCT_CodePostal")
    private byte[] cbCTCodePostal;
    @Column(name = "CT_Ville")
    private String cTVille;
    @Column(name = "CT_CodeRegion")
    private String cTCodeRegion;
    @Column(name = "CT_Pays")
    private String cTPays;
    @Column(name = "CT_Raccourci")
    private String cTRaccourci;
    @Lob
    @Column(name = "cbCT_Raccourci")
    private byte[] cbCTRaccourci;
    @Column(name = "BT_Num")
    private Short bTNum;
    @Column(name = "N_Devise")
    private Short nDevise;
    @Column(name = "CT_Ape")
    private String cTApe;
    @Column(name = "CT_Identifiant")
    private String cTIdentifiant;
    @Column(name = "CT_Siret")
    private String cTSiret;
    @Column(name = "CT_Statistique01")
    private String cTStatistique01;
    @Column(name = "CT_Statistique02")
    private String cTStatistique02;
    @Column(name = "CT_Statistique03")
    private String cTStatistique03;
    @Column(name = "CT_Statistique04")
    private String cTStatistique04;
    @Column(name = "CT_Statistique05")
    private String cTStatistique05;
    @Column(name = "CT_Statistique06")
    private String cTStatistique06;
    @Column(name = "CT_Statistique07")
    private String cTStatistique07;
    @Column(name = "CT_Statistique08")
    private String cTStatistique08;
    @Column(name = "CT_Statistique09")
    private String cTStatistique09;
    @Column(name = "CT_Statistique10")
    private String cTStatistique10;
    @Column(name = "CT_Commentaire")
    private String cTCommentaire;
    // @Max(value=?)  @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Column(name = "CT_Encours")
    private BigDecimal cTEncours;
    @Column(name = "CT_Assurance")
    private BigDecimal cTAssurance;
    @Column(name = "CT_NumPayeur")
    private String cTNumPayeur;
    @Lob
    @Column(name = "cbCT_NumPayeur")
    private byte[] cbCTNumPayeur;
    @Column(name = "N_Risque")
    private Short nRisque;
    @Column(name = "CO_No")
    private Integer cONo;
    @Column(name = "N_CatTarif")
    private Short nCatTarif;
    @Column(name = "CT_Taux01")
    private BigDecimal cTTaux01;
    @Column(name = "CT_Taux02")
    private BigDecimal cTTaux02;
    @Column(name = "CT_Taux03")
    private BigDecimal cTTaux03;
    @Column(name = "CT_Taux04")
    private BigDecimal cTTaux04;
    @Column(name = "N_CatCompta")
    private Short nCatCompta;
    @Column(name = "N_Period")
    private Short nPeriod;
    @Column(name = "CT_Facture")
    private Short cTFacture;
    @Column(name = "CT_BLFact")
    private Short cTBLFact;
    @Column(name = "CT_Langue")
    private Short cTLangue;
    @Column(name = "CT_Edi1")
    private String cTEdi1;
    @Column(name = "CT_Edi2")
    private String cTEdi2;
    @Column(name = "CT_Edi3")
    private String cTEdi3;
    @Column(name = "N_Expedition")
    private Short nExpedition;
    @Column(name = "N_Condition")
    private Short nCondition;
    @Column(name = "CT_DateCreate")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTDateCreate;
    @Column(name = "CT_Saut")
    private Short cTSaut;
    @Column(name = "CT_Lettrage")
    private Short cTLettrage;
    @Column(name = "CT_ValidEch")
    private Short cTValidEch;
    @Column(name = "CT_Sommeil")
    private Short cTSommeil;
    @Column(name = "DE_No")
    private Integer dENo;
    @Column(name = "CT_ControlEnc")
    private Short cTControlEnc;
    @Column(name = "CT_NotRappel")
    private Short cTNotRappel;
    @Column(name = "cbN_Analytique")
    private Short cbNAnalytique;
    @Lob
    @Column(name = "cbCA_Num")
    private byte[] cbCANum;
    @Column(name = "CT_Telephone")
    private String cTTelephone;
    @Column(name = "CT_Telecopie")
    private String cTTelecopie;
    @Column(name = "CT_EMail")
    private String cTEMail;
    @Column(name = "CT_Site")
    private String cTSite;
    @Column(name = "CT_Coface")
    private String cTCoface;
    @Column(name = "CT_Surveillance")
    private Short cTSurveillance;
    @Column(name = "CT_SvDateCreate")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTSvDateCreate;
    @Column(name = "CT_SvFormeJuri")
    private String cTSvFormeJuri;
    @Column(name = "CT_SvEffectif")
    private String cTSvEffectif;
    @Column(name = "CT_SvCA")
    private BigDecimal cTSvCA;
    @Column(name = "CT_SvResultat")
    private BigDecimal cTSvResultat;
    @Column(name = "CT_SvIncident")
    private Short cTSvIncident;
    @Column(name = "CT_SvDateIncid")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTSvDateIncid;
    @Column(name = "CT_SvPrivil")
    private Short cTSvPrivil;
    @Column(name = "CT_SvRegul")
    private String cTSvRegul;
    @Column(name = "CT_SvCotation")
    private String cTSvCotation;
    @Column(name = "CT_SvDateMaj")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTSvDateMaj;
    @Column(name = "CT_SvObjetMaj")
    private String cTSvObjetMaj;
    @Column(name = "CT_SvDateBilan")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTSvDateBilan;
    @Column(name = "CT_SvNbMoisBilan")
    private Short cTSvNbMoisBilan;
    @Column(name = "cbN_AnalytiqueIFRS")
    private Short cbNAnalytiqueIFRS;
    @Column(name = "CT_PrioriteLivr")
    private Short cTPrioriteLivr;
    @Column(name = "CT_LivrPartielle")
    private Short cTLivrPartielle;
    @Column(name = "MR_No")
    private Integer mRNo;
    @Column(name = "CT_NotPenal")
    private Short cTNotPenal;
    @Column(name = "EB_No")
    private Integer eBNo;
    @Column(name = "CT_NumCentrale")
    private String cTNumCentrale;
    @Lob
    @Column(name = "cbCT_NumCentrale")
    private byte[] cbCTNumCentrale;
    @Column(name = "CT_DateFermeDebut")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTDateFermeDebut;
    @Column(name = "CT_DateFermeFin")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cTDateFermeFin;
    @Column(name = "CT_FactureElec")
    private Short cTFactureElec;
    @Column(name = "CT_TypeNIF")
    private Short cTTypeNIF;
    @Column(name = "CT_RepresentInt")
    private String cTRepresentInt;
    @Column(name = "CT_RepresentNIF")
    private String cTRepresentNIF;
    @Column(name = "cbProt")
    private Short cbProt;
    @Id
    @Basic(optional = false)
    @Column(name = "cbMarq")
    private Integer cbMarq;
    @Column(name = "cbCreateur")
    private String cbCreateur;
    @Column(name = "cbModification")
    @Temporal(TemporalType.TIMESTAMP)
    private Date cbModification;
    @Column(name = "cbReplication")
    private Integer cbReplication;
    @Column(name = "cbFlag")
    private Short cbFlag;
    @JoinColumn(name = "cbCO_No", referencedColumnName = "CO_No")
    @ManyToOne
    private FCollaborateur cbCONo;
    @JoinColumns({
        @JoinColumn(name = "N_Analytique", referencedColumnName = "N_Analytique"),
        @JoinColumn(name = "CA_Num", referencedColumnName = "CA_Num")})
    @ManyToOne
    private FComptea fComptea;
    @JoinColumns({
        @JoinColumn(name = "N_AnalytiqueIFRS", referencedColumnName = "N_Analytique"),
        @JoinColumn(name = "CA_NumIFRS", referencedColumnName = "CA_Num")})
    @ManyToOne
    private FComptea fComptea1;
    @JoinColumn(name = "CG_NumPrinc", referencedColumnName = "CG_Num")
    @ManyToOne(optional = false)
    private FCompteg cGNumPrinc;
    @JoinColumn(name = "cbDE_No", referencedColumnName = "DE_No")
    @ManyToOne
    private FDepot cbDENo;
    @JoinColumn(name = "cbEB_No", referencedColumnName = "EB_No")
    @ManyToOne
    private FEbanque cbEBNo;
    @JoinColumn(name = "cbMR_No", referencedColumnName = "MR_No")
    @ManyToOne
    private FModeler cbMRNo;
    @OneToMany(mappedBy = "cTNumPayeur")
    private Collection<FDocentete> fDocenteteCollection;
    @OneToMany(mappedBy = "cTNumCentrale")
    private Collection<FDocentete> fDocenteteCollection1;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "cTNum")
    private Collection<FLivraison> fLivraisonCollection;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "cTNum")
    private Collection<FCaisse> fCaisseCollection;

    public FComptet() {
    }

    public FComptet(Integer cbMarq) {
        this.cbMarq = cbMarq;
    }

    public FComptet(Integer cbMarq, String cTNum) {
        this.cbMarq = cbMarq;
        this.cTNum = cTNum;
    }

    public String getCTNum() {
        return cTNum;
    }

    public void setCTNum(String cTNum) {
        this.cTNum = cTNum;
    }

    public byte[] getCbCTNum() {
        return cbCTNum;
    }

    public void setCbCTNum(byte[] cbCTNum) {
        this.cbCTNum = cbCTNum;
    }

    public String getCTIntitule() {
        return cTIntitule;
    }

    public void setCTIntitule(String cTIntitule) {
        this.cTIntitule = cTIntitule;
    }

    public Short getCTType() {
        return cTType;
    }

    public void setCTType(Short cTType) {
        this.cTType = cTType;
    }

    public byte[] getCbCGNumPrinc() {
        return cbCGNumPrinc;
    }

    public void setCbCGNumPrinc(byte[] cbCGNumPrinc) {
        this.cbCGNumPrinc = cbCGNumPrinc;
    }

    public String getCTQualite() {
        return cTQualite;
    }

    public void setCTQualite(String cTQualite) {
        this.cTQualite = cTQualite;
    }

    public String getCTClassement() {
        return cTClassement;
    }

    public void setCTClassement(String cTClassement) {
        this.cTClassement = cTClassement;
    }

    public byte[] getCbCTClassement() {
        return cbCTClassement;
    }

    public void setCbCTClassement(byte[] cbCTClassement) {
        this.cbCTClassement = cbCTClassement;
    }

    public String getCTContact() {
        return cTContact;
    }

    public void setCTContact(String cTContact) {
        this.cTContact = cTContact;
    }

    public String getCTAdresse() {
        return cTAdresse;
    }

    public void setCTAdresse(String cTAdresse) {
        this.cTAdresse = cTAdresse;
    }

    public String getCTComplement() {
        return cTComplement;
    }

    public void setCTComplement(String cTComplement) {
        this.cTComplement = cTComplement;
    }

    public String getCTCodePostal() {
        return cTCodePostal;
    }

    public void setCTCodePostal(String cTCodePostal) {
        this.cTCodePostal = cTCodePostal;
    }

    public byte[] getCbCTCodePostal() {
        return cbCTCodePostal;
    }

    public void setCbCTCodePostal(byte[] cbCTCodePostal) {
        this.cbCTCodePostal = cbCTCodePostal;
    }

    public String getCTVille() {
        return cTVille;
    }

    public void setCTVille(String cTVille) {
        this.cTVille = cTVille;
    }

    public String getCTCodeRegion() {
        return cTCodeRegion;
    }

    public void setCTCodeRegion(String cTCodeRegion) {
        this.cTCodeRegion = cTCodeRegion;
    }

    public String getCTPays() {
        return cTPays;
    }

    public void setCTPays(String cTPays) {
        this.cTPays = cTPays;
    }

    public String getCTRaccourci() {
        return cTRaccourci;
    }

    public void setCTRaccourci(String cTRaccourci) {
        this.cTRaccourci = cTRaccourci;
    }

    public byte[] getCbCTRaccourci() {
        return cbCTRaccourci;
    }

    public void setCbCTRaccourci(byte[] cbCTRaccourci) {
        this.cbCTRaccourci = cbCTRaccourci;
    }

    public Short getBTNum() {
        return bTNum;
    }

    public void setBTNum(Short bTNum) {
        this.bTNum = bTNum;
    }

    public Short getNDevise() {
        return nDevise;
    }

    public void setNDevise(Short nDevise) {
        this.nDevise = nDevise;
    }

    public String getCTApe() {
        return cTApe;
    }

    public void setCTApe(String cTApe) {
        this.cTApe = cTApe;
    }

    public String getCTIdentifiant() {
        return cTIdentifiant;
    }

    public void setCTIdentifiant(String cTIdentifiant) {
        this.cTIdentifiant = cTIdentifiant;
    }

    public String getCTSiret() {
        return cTSiret;
    }

    public void setCTSiret(String cTSiret) {
        this.cTSiret = cTSiret;
    }

    public String getCTStatistique01() {
        return cTStatistique01;
    }

    public void setCTStatistique01(String cTStatistique01) {
        this.cTStatistique01 = cTStatistique01;
    }

    public String getCTStatistique02() {
        return cTStatistique02;
    }

    public void setCTStatistique02(String cTStatistique02) {
        this.cTStatistique02 = cTStatistique02;
    }

    public String getCTStatistique03() {
        return cTStatistique03;
    }

    public void setCTStatistique03(String cTStatistique03) {
        this.cTStatistique03 = cTStatistique03;
    }

    public String getCTStatistique04() {
        return cTStatistique04;
    }

    public void setCTStatistique04(String cTStatistique04) {
        this.cTStatistique04 = cTStatistique04;
    }

    public String getCTStatistique05() {
        return cTStatistique05;
    }

    public void setCTStatistique05(String cTStatistique05) {
        this.cTStatistique05 = cTStatistique05;
    }

    public String getCTStatistique06() {
        return cTStatistique06;
    }

    public void setCTStatistique06(String cTStatistique06) {
        this.cTStatistique06 = cTStatistique06;
    }

    public String getCTStatistique07() {
        return cTStatistique07;
    }

    public void setCTStatistique07(String cTStatistique07) {
        this.cTStatistique07 = cTStatistique07;
    }

    public String getCTStatistique08() {
        return cTStatistique08;
    }

    public void setCTStatistique08(String cTStatistique08) {
        this.cTStatistique08 = cTStatistique08;
    }

    public String getCTStatistique09() {
        return cTStatistique09;
    }

    public void setCTStatistique09(String cTStatistique09) {
        this.cTStatistique09 = cTStatistique09;
    }

    public String getCTStatistique10() {
        return cTStatistique10;
    }

    public void setCTStatistique10(String cTStatistique10) {
        this.cTStatistique10 = cTStatistique10;
    }

    public String getCTCommentaire() {
        return cTCommentaire;
    }

    public void setCTCommentaire(String cTCommentaire) {
        this.cTCommentaire = cTCommentaire;
    }

    public BigDecimal getCTEncours() {
        return cTEncours;
    }

    public void setCTEncours(BigDecimal cTEncours) {
        this.cTEncours = cTEncours;
    }

    public BigDecimal getCTAssurance() {
        return cTAssurance;
    }

    public void setCTAssurance(BigDecimal cTAssurance) {
        this.cTAssurance = cTAssurance;
    }

    public String getCTNumPayeur() {
        return cTNumPayeur;
    }

    public void setCTNumPayeur(String cTNumPayeur) {
        this.cTNumPayeur = cTNumPayeur;
    }

    public byte[] getCbCTNumPayeur() {
        return cbCTNumPayeur;
    }

    public void setCbCTNumPayeur(byte[] cbCTNumPayeur) {
        this.cbCTNumPayeur = cbCTNumPayeur;
    }

    public Short getNRisque() {
        return nRisque;
    }

    public void setNRisque(Short nRisque) {
        this.nRisque = nRisque;
    }

    public Integer getCONo() {
        return cONo;
    }

    public void setCONo(Integer cONo) {
        this.cONo = cONo;
    }

    public Short getNCatTarif() {
        return nCatTarif;
    }

    public void setNCatTarif(Short nCatTarif) {
        this.nCatTarif = nCatTarif;
    }

    public BigDecimal getCTTaux01() {
        return cTTaux01;
    }

    public void setCTTaux01(BigDecimal cTTaux01) {
        this.cTTaux01 = cTTaux01;
    }

    public BigDecimal getCTTaux02() {
        return cTTaux02;
    }

    public void setCTTaux02(BigDecimal cTTaux02) {
        this.cTTaux02 = cTTaux02;
    }

    public BigDecimal getCTTaux03() {
        return cTTaux03;
    }

    public void setCTTaux03(BigDecimal cTTaux03) {
        this.cTTaux03 = cTTaux03;
    }

    public BigDecimal getCTTaux04() {
        return cTTaux04;
    }

    public void setCTTaux04(BigDecimal cTTaux04) {
        this.cTTaux04 = cTTaux04;
    }

    public Short getNCatCompta() {
        return nCatCompta;
    }

    public void setNCatCompta(Short nCatCompta) {
        this.nCatCompta = nCatCompta;
    }

    public Short getNPeriod() {
        return nPeriod;
    }

    public void setNPeriod(Short nPeriod) {
        this.nPeriod = nPeriod;
    }

    public Short getCTFacture() {
        return cTFacture;
    }

    public void setCTFacture(Short cTFacture) {
        this.cTFacture = cTFacture;
    }

    public Short getCTBLFact() {
        return cTBLFact;
    }

    public void setCTBLFact(Short cTBLFact) {
        this.cTBLFact = cTBLFact;
    }

    public Short getCTLangue() {
        return cTLangue;
    }

    public void setCTLangue(Short cTLangue) {
        this.cTLangue = cTLangue;
    }

    public String getCTEdi1() {
        return cTEdi1;
    }

    public void setCTEdi1(String cTEdi1) {
        this.cTEdi1 = cTEdi1;
    }

    public String getCTEdi2() {
        return cTEdi2;
    }

    public void setCTEdi2(String cTEdi2) {
        this.cTEdi2 = cTEdi2;
    }

    public String getCTEdi3() {
        return cTEdi3;
    }

    public void setCTEdi3(String cTEdi3) {
        this.cTEdi3 = cTEdi3;
    }

    public Short getNExpedition() {
        return nExpedition;
    }

    public void setNExpedition(Short nExpedition) {
        this.nExpedition = nExpedition;
    }

    public Short getNCondition() {
        return nCondition;
    }

    public void setNCondition(Short nCondition) {
        this.nCondition = nCondition;
    }

    public Date getCTDateCreate() {
        return cTDateCreate;
    }

    public void setCTDateCreate(Date cTDateCreate) {
        this.cTDateCreate = cTDateCreate;
    }

    public Short getCTSaut() {
        return cTSaut;
    }

    public void setCTSaut(Short cTSaut) {
        this.cTSaut = cTSaut;
    }

    public Short getCTLettrage() {
        return cTLettrage;
    }

    public void setCTLettrage(Short cTLettrage) {
        this.cTLettrage = cTLettrage;
    }

    public Short getCTValidEch() {
        return cTValidEch;
    }

    public void setCTValidEch(Short cTValidEch) {
        this.cTValidEch = cTValidEch;
    }

    public Short getCTSommeil() {
        return cTSommeil;
    }

    public void setCTSommeil(Short cTSommeil) {
        this.cTSommeil = cTSommeil;
    }

    public Integer getDENo() {
        return dENo;
    }

    public void setDENo(Integer dENo) {
        this.dENo = dENo;
    }

    public Short getCTControlEnc() {
        return cTControlEnc;
    }

    public void setCTControlEnc(Short cTControlEnc) {
        this.cTControlEnc = cTControlEnc;
    }

    public Short getCTNotRappel() {
        return cTNotRappel;
    }

    public void setCTNotRappel(Short cTNotRappel) {
        this.cTNotRappel = cTNotRappel;
    }

    public Short getCbNAnalytique() {
        return cbNAnalytique;
    }

    public void setCbNAnalytique(Short cbNAnalytique) {
        this.cbNAnalytique = cbNAnalytique;
    }

    public byte[] getCbCANum() {
        return cbCANum;
    }

    public void setCbCANum(byte[] cbCANum) {
        this.cbCANum = cbCANum;
    }

    public String getCTTelephone() {
        return cTTelephone;
    }

    public void setCTTelephone(String cTTelephone) {
        this.cTTelephone = cTTelephone;
    }

    public String getCTTelecopie() {
        return cTTelecopie;
    }

    public void setCTTelecopie(String cTTelecopie) {
        this.cTTelecopie = cTTelecopie;
    }

    public String getCTEMail() {
        return cTEMail;
    }

    public void setCTEMail(String cTEMail) {
        this.cTEMail = cTEMail;
    }

    public String getCTSite() {
        return cTSite;
    }

    public void setCTSite(String cTSite) {
        this.cTSite = cTSite;
    }

    public String getCTCoface() {
        return cTCoface;
    }

    public void setCTCoface(String cTCoface) {
        this.cTCoface = cTCoface;
    }

    public Short getCTSurveillance() {
        return cTSurveillance;
    }

    public void setCTSurveillance(Short cTSurveillance) {
        this.cTSurveillance = cTSurveillance;
    }

    public Date getCTSvDateCreate() {
        return cTSvDateCreate;
    }

    public void setCTSvDateCreate(Date cTSvDateCreate) {
        this.cTSvDateCreate = cTSvDateCreate;
    }

    public String getCTSvFormeJuri() {
        return cTSvFormeJuri;
    }

    public void setCTSvFormeJuri(String cTSvFormeJuri) {
        this.cTSvFormeJuri = cTSvFormeJuri;
    }

    public String getCTSvEffectif() {
        return cTSvEffectif;
    }

    public void setCTSvEffectif(String cTSvEffectif) {
        this.cTSvEffectif = cTSvEffectif;
    }

    public BigDecimal getCTSvCA() {
        return cTSvCA;
    }

    public void setCTSvCA(BigDecimal cTSvCA) {
        this.cTSvCA = cTSvCA;
    }

    public BigDecimal getCTSvResultat() {
        return cTSvResultat;
    }

    public void setCTSvResultat(BigDecimal cTSvResultat) {
        this.cTSvResultat = cTSvResultat;
    }

    public Short getCTSvIncident() {
        return cTSvIncident;
    }

    public void setCTSvIncident(Short cTSvIncident) {
        this.cTSvIncident = cTSvIncident;
    }

    public Date getCTSvDateIncid() {
        return cTSvDateIncid;
    }

    public void setCTSvDateIncid(Date cTSvDateIncid) {
        this.cTSvDateIncid = cTSvDateIncid;
    }

    public Short getCTSvPrivil() {
        return cTSvPrivil;
    }

    public void setCTSvPrivil(Short cTSvPrivil) {
        this.cTSvPrivil = cTSvPrivil;
    }

    public String getCTSvRegul() {
        return cTSvRegul;
    }

    public void setCTSvRegul(String cTSvRegul) {
        this.cTSvRegul = cTSvRegul;
    }

    public String getCTSvCotation() {
        return cTSvCotation;
    }

    public void setCTSvCotation(String cTSvCotation) {
        this.cTSvCotation = cTSvCotation;
    }

    public Date getCTSvDateMaj() {
        return cTSvDateMaj;
    }

    public void setCTSvDateMaj(Date cTSvDateMaj) {
        this.cTSvDateMaj = cTSvDateMaj;
    }

    public String getCTSvObjetMaj() {
        return cTSvObjetMaj;
    }

    public void setCTSvObjetMaj(String cTSvObjetMaj) {
        this.cTSvObjetMaj = cTSvObjetMaj;
    }

    public Date getCTSvDateBilan() {
        return cTSvDateBilan;
    }

    public void setCTSvDateBilan(Date cTSvDateBilan) {
        this.cTSvDateBilan = cTSvDateBilan;
    }

    public Short getCTSvNbMoisBilan() {
        return cTSvNbMoisBilan;
    }

    public void setCTSvNbMoisBilan(Short cTSvNbMoisBilan) {
        this.cTSvNbMoisBilan = cTSvNbMoisBilan;
    }

    public Short getCbNAnalytiqueIFRS() {
        return cbNAnalytiqueIFRS;
    }

    public void setCbNAnalytiqueIFRS(Short cbNAnalytiqueIFRS) {
        this.cbNAnalytiqueIFRS = cbNAnalytiqueIFRS;
    }

    public Short getCTPrioriteLivr() {
        return cTPrioriteLivr;
    }

    public void setCTPrioriteLivr(Short cTPrioriteLivr) {
        this.cTPrioriteLivr = cTPrioriteLivr;
    }

    public Short getCTLivrPartielle() {
        return cTLivrPartielle;
    }

    public void setCTLivrPartielle(Short cTLivrPartielle) {
        this.cTLivrPartielle = cTLivrPartielle;
    }

    public Integer getMRNo() {
        return mRNo;
    }

    public void setMRNo(Integer mRNo) {
        this.mRNo = mRNo;
    }

    public Short getCTNotPenal() {
        return cTNotPenal;
    }

    public void setCTNotPenal(Short cTNotPenal) {
        this.cTNotPenal = cTNotPenal;
    }

    public Integer getEBNo() {
        return eBNo;
    }

    public void setEBNo(Integer eBNo) {
        this.eBNo = eBNo;
    }

    public String getCTNumCentrale() {
        return cTNumCentrale;
    }

    public void setCTNumCentrale(String cTNumCentrale) {
        this.cTNumCentrale = cTNumCentrale;
    }

    public byte[] getCbCTNumCentrale() {
        return cbCTNumCentrale;
    }

    public void setCbCTNumCentrale(byte[] cbCTNumCentrale) {
        this.cbCTNumCentrale = cbCTNumCentrale;
    }

    public Date getCTDateFermeDebut() {
        return cTDateFermeDebut;
    }

    public void setCTDateFermeDebut(Date cTDateFermeDebut) {
        this.cTDateFermeDebut = cTDateFermeDebut;
    }

    public Date getCTDateFermeFin() {
        return cTDateFermeFin;
    }

    public void setCTDateFermeFin(Date cTDateFermeFin) {
        this.cTDateFermeFin = cTDateFermeFin;
    }

    public Short getCTFactureElec() {
        return cTFactureElec;
    }

    public void setCTFactureElec(Short cTFactureElec) {
        this.cTFactureElec = cTFactureElec;
    }

    public Short getCTTypeNIF() {
        return cTTypeNIF;
    }

    public void setCTTypeNIF(Short cTTypeNIF) {
        this.cTTypeNIF = cTTypeNIF;
    }

    public String getCTRepresentInt() {
        return cTRepresentInt;
    }

    public void setCTRepresentInt(String cTRepresentInt) {
        this.cTRepresentInt = cTRepresentInt;
    }

    public String getCTRepresentNIF() {
        return cTRepresentNIF;
    }

    public void setCTRepresentNIF(String cTRepresentNIF) {
        this.cTRepresentNIF = cTRepresentNIF;
    }

    public Short getCbProt() {
        return cbProt;
    }

    public void setCbProt(Short cbProt) {
        this.cbProt = cbProt;
    }

    public Integer getCbMarq() {
        return cbMarq;
    }

    public void setCbMarq(Integer cbMarq) {
        this.cbMarq = cbMarq;
    }

    public String getCbCreateur() {
        return cbCreateur;
    }

    public void setCbCreateur(String cbCreateur) {
        this.cbCreateur = cbCreateur;
    }

    public Date getCbModification() {
        return cbModification;
    }

    public void setCbModification(Date cbModification) {
        this.cbModification = cbModification;
    }

    public Integer getCbReplication() {
        return cbReplication;
    }

    public void setCbReplication(Integer cbReplication) {
        this.cbReplication = cbReplication;
    }

    public Short getCbFlag() {
        return cbFlag;
    }

    public void setCbFlag(Short cbFlag) {
        this.cbFlag = cbFlag;
    }

    public FCollaborateur getCbCONo() {
        return cbCONo;
    }

    public void setCbCONo(FCollaborateur cbCONo) {
        this.cbCONo = cbCONo;
    }

    public FComptea getFComptea() {
        return fComptea;
    }

    public void setFComptea(FComptea fComptea) {
        this.fComptea = fComptea;
    }

    public FComptea getFComptea1() {
        return fComptea1;
    }

    public void setFComptea1(FComptea fComptea1) {
        this.fComptea1 = fComptea1;
    }

    public FCompteg getCGNumPrinc() {
        return cGNumPrinc;
    }

    public void setCGNumPrinc(FCompteg cGNumPrinc) {
        this.cGNumPrinc = cGNumPrinc;
    }

    public FDepot getCbDENo() {
        return cbDENo;
    }

    public void setCbDENo(FDepot cbDENo) {
        this.cbDENo = cbDENo;
    }

    public FEbanque getCbEBNo() {
        return cbEBNo;
    }

    public void setCbEBNo(FEbanque cbEBNo) {
        this.cbEBNo = cbEBNo;
    }

    public FModeler getCbMRNo() {
        return cbMRNo;
    }

    public void setCbMRNo(FModeler cbMRNo) {
        this.cbMRNo = cbMRNo;
    }

    @XmlTransient
    public Collection<FDocentete> getFDocenteteCollection() {
        return fDocenteteCollection;
    }

    public void setFDocenteteCollection(Collection<FDocentete> fDocenteteCollection) {
        this.fDocenteteCollection = fDocenteteCollection;
    }

    @XmlTransient
    public Collection<FDocentete> getFDocenteteCollection1() {
        return fDocenteteCollection1;
    }

    public void setFDocenteteCollection1(Collection<FDocentete> fDocenteteCollection1) {
        this.fDocenteteCollection1 = fDocenteteCollection1;
    }

    @XmlTransient
    public Collection<FLivraison> getFLivraisonCollection() {
        return fLivraisonCollection;
    }

    public void setFLivraisonCollection(Collection<FLivraison> fLivraisonCollection) {
        this.fLivraisonCollection = fLivraisonCollection;
    }

    @XmlTransient
    public Collection<FCaisse> getFCaisseCollection() {
        return fCaisseCollection;
    }

    public void setFCaisseCollection(Collection<FCaisse> fCaisseCollection) {
        this.fCaisseCollection = fCaisseCollection;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (cbMarq != null ? cbMarq.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof FComptet)) {
            return false;
        }
        FComptet other = (FComptet) object;
        if ((this.cbMarq == null && other.cbMarq != null) || (this.cbMarq != null && !this.cbMarq.equals(other.cbMarq))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "entityprojet.FComptet[ cbMarq=" + cbMarq + " ]";
    }
    
}
